package com.bwie.service;

import com.bwie.pojo.TbProd;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import com.bwie.vo.TbProdVo;

import java.util.List;

/**
* @author andy
* @description 针对表【tb_prod(商品表)】的数据库操作Service
* @createDate 2025-03-25 13:58:43
*/
public interface TbProdService extends IService<TbProd> {

    R getProdList(PageInfoVo pageInfoVo);

    R getDictList(Integer id);

    R getProdListFromEs(PageInfoVo pageInfoVo);

    R addProd(TbProd tbProd);

    R updateProd(TbProd tbProd);

    R deleteProd(Integer prodId);

    R applyProdOnline(Integer prodId);

    R checkProd(TbProd tbProd);

    R sucProdStock(List<TbProdVo> prodVoList);
}
